import request from "@/utils/request";

export async function List(params) {
  return request(`/credit/audit/query`, {
    method: "POST",
    body: {
      ...params,
    }
  });
}

export async function removeDept(params) {
  return request(`/dept/del/${params.key}`, {
    method: "POST",
    body: {}
  });
}

export async function audit(params) {
  return request("/credit/audit/review/audit", {
    method: "POST",
    body: {
      ...params
    }
  });
}
export async function Detail(params) {
  return request(`/credit/audit/detail/${params.code}`, {
    method: "POST",
    body:{}
  });
}
export async function update(params) {
  return request("/credit/audit/edit", {
    method: "POST",
    body: {
      ...params
    }
  });
}
export async function credit(params) {
  return request("/credit/audit/credit", {
    method: "POST",
    body: params
  });
}

